package traffic;

import Duty.Business;

import java.util.Scanner;

//管理
public class Manage {

    public void manag(Pilot pilot,TrafficPolice trafficPolice,Automobile automobile,News news){
        System.out.println(pilot.name+"驾驶一辆"+automobile.motorcyletype+"由于"+news.fine+"扣留机车，处理人是"+
                trafficPolice.name);
    }

    Scanner sc = new Scanner(System.in);
    public static void main(String[]args){
        Pilot pilot = new Pilot("张某");
        TrafficPolice trafficPolice= new TrafficPolice("王警官");
        Automobile automobile = new Automobile("红色汽车");
        News news = new News("违章停车");

    }
}
